﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Mapping;
using BLToolkit.DataAccess;

namespace Entities
{
    public class QuanLiTaiKhoan
    {
       
        [MapField("IdNhanVien"),PrimaryKey]
        public string MaNhanVien { get; set; }
        [MapField("IdGiaiDau"), PrimaryKey]
        public int MaGiaiDau { get; set; }
        [MapField("IdTaiKhoan")]

        public int MaTaiKhoan { get; set; }
        public DateTime ThoiGianKhoiTao { get; set; }
        [Association(ThisKey = "IdNhaVien", OtherKey = "IdNhanVien")]
        public NhanVien NhanViens { get; set; }
        [Association(ThisKey = "IdGiaiDau", OtherKey = "IdGiaiDau")]
        public GiaiDau GiaiDaus { get; set; }
        [Association(ThisKey = "IdTaiKhoan", OtherKey = "IdTaiKhoan")]
        public TaiKhoan TaiKhoans { get; set; }

    }
} 
